package structure;

public class Student {
	
	private int iD;
	private String MSTS;
	private String firstName;
	private String lastName;
	private String dateOfBirth;
	private String cMND;
	private int courseID;
	private String username;
	private String password;
	
	public Student() {
		dateOfBirth = null;
	}

	public int getiD() {
		return iD;
	}

	public void setiD(int iD) {
		this.iD = iD;
	}

	public String getMSTS() {
		return MSTS;
	}

	public void setMSTS(String mSTS) {
		MSTS = mSTS;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getDateOfBirth() {
		return dateOfBirth;
	}

	public void setDateOfBirth(String dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	public int getJoinedCourse() {
		return this.courseID;
	}

	public void setJoinedCourse(int joinedCourse) {
		this.courseID = joinedCourse;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCMND() {
		return cMND;
	}

	public void setCMND(String cMND) {
		this.cMND = cMND;
	}

	@Override
	public String toString() {
		return this.getMSTS() + " " + this.getFirstName() + " " + this.getLastName() + " " + 
				this.getDateOfBirth() + " " + this.getCMND() + " " + this.getUsername() + " " + this.getPassword();
	}
}
